Click or drag to resize

Attachment Class

Represents an attachment to a message.
Inheritance Hierarchy
SystemObject
  Independentsoft.MsgAttachment

Namespace:  Independentsoft.Msg
Assembly:  Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
public class Attachment

The Attachment type exposes the following members.

Constructors
  NameDescription
Public methodAttachment
Initializes a new instance of the Attachment class.
Public methodAttachment(String)
Initializes a new instance of the Attachment class based on the supplied file.
Public methodAttachment(String, Byte)
Initializes a new instance of the Attachment class based on the supplied byte array.
Public methodAttachment(String, Stream)
Initializes a new instance of the Attachment class based on the supplied stream.
Top
Properties
  NameDescription
Public propertyAdditionalInfo
Provides file type information for a non-Windows attachment.
Public propertyContentBase
Contains the content base header of a MIME message attachment.
Public propertyContentDisposition
Contains the content disposition header of a MIME message attachment.
Public propertyContentId
Contains the content identification header of a MIME message attachment.
Public propertyContentLocation
Contains the content location header of a MIME message attachment.
Public propertyCreationTime
Contains the creation date and time of the attachment.
Public propertyData
Contains binary attachment data.
Public propertyDataObject
Contains attachment's data as embedded object.
Public propertyDataObjectStorage
Gets or sets the data object storage.
Public propertyDisplayName
Contains the display name of the attachment.
Public propertyEmbeddedMessage
Contains Message object if the attachment is an embedded Message.
Public propertyEncoding
Contains the encoding for an attachment.
Public propertyExtension
Contains a file name extension that indicates the document type of an attachment.
Public propertyFileName
Contains an attachment's base file name and extension, excluding path.
Public propertyFlags
Contains flags for an attachment.
Public propertyIsContactPhoto
Indicates whether this attachment is a contact photo.
Public propertyIsHidden
Indicates whether an attachment is hidden from the end user.
Public propertyLastModificationTime
Contains the date and time when the attachment was last modified.
Public propertyLongFileName
Contains an attachment's long filename and extension, excluding path.
Public propertyLongPathName
Contains an attachment's fully-qualified long path and filename.
Public propertyMethod
Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
Public propertyMimeSequence
Contains the MIME sequence number of a MIME message attachment.
Public propertyMimeTag
Contains formatting information about a MIME attachment.
Public propertyObjectType
Contains the type of the attachment.
Public propertyPathName
Contains an attachment's fully-qualified path and filename.
Public propertyRecordKey
Contains the record key for an attachment.
Public propertyRendering
Contains a Microsoft Windows metafile with rendering information for an attachment.
Public propertyRenderingPosition
Contains rendering position index.
Public propertySize
Contains attachment's size in bytes.
Public propertyTag
Contains an object identifier specifying the application that supplied an attachment.
Public propertyTransportName
Contains the name of an attachment file modified so that it can be associated with TNEF messages.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBuffer
Gets bytes to read from this attachment.
Public methodGetBytes
Gets bytes to read from this attachment.
Public methodGetHashCode (Inherited from Object.)
Public methodGetStream
Gets stream to read from this attachment.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Saves this attachment to the specified stream.
Public methodSave(String)
Saves this attachment to the specified file.
Public methodSave(String, Boolean)
Saves this attachment to the specified file.
Public methodToString (Inherited from Object.)
Top
See Also